package Outclass.Animal;

public class Test {
    public static void main(String[] args){
        Frog q = new Frog("青蛙","虫","河流、池塘、沼泽","两栖动物！");
        Bear b = new Bear("北极熊","海豹、企鹅、路过的人","北极冰山","俺会冬眠！");
        String qw= q.wholeLife();
        String bj= b.wholeLife();
        System.out.println(qw);
        System.out.println(bj);

    }
}
